'Declaration Public Overloads Shared Sub DrawWithRenderer( _
ByVal imageImage to draw.As Vintasoft.Imaging.VintasoftImage, _
ByVal drawingContextDrawing context where image should be drawn.As System.Windows.Media.DrawingContext, _
ByVal sourceRectThe rectangular area, in pixels, of image to draw.As System.Windows.Rect, _
ByVal destRectThe rectangular area, in device-independent pixels (1/96th inch), of device context where image should be drawn.As System.Windows.Rect, _
ByVal destDpiXHorizontal resolution, in dpi, of drawing context.As Double, _
ByVal destDpiYVertical resolution, in dpi, of drawing context.As Double, _
ByVal preprocessingProcessing command that should be applied to image before drawing of image on drawing context.As Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase, _
ByVal renderingProgressProgress delegate of the source image rendering progress.As System.EventHandler(Of ProgressEventArgs) _
)
public static void DrawWithRenderer(
Vintasoft.Imaging.VintasoftImage image,
System.Windows.Media.DrawingContext drawingContext,
System.Windows.Rect sourceRect,
System.Windows.Rect destRect,
double destDpiX,
double destDpiY,
Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase preprocessing,
System.EventHandler<ProgressEventArgs> renderingProgress
)
public: static void DrawWithRenderer(
Vintasoft.Imaging.VintasoftImage* image,
System.Windows.Media.DrawingContext drawingContext,
System.Windows.Rect* sourceRect,
System.Windows.Rect* destRect,
double destDpiX,
double destDpiY,
Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase* preprocessing,
System.EventHandler<ProgressEventArgs*>* renderingProgress
)
public:
static void DrawWithRenderer(
Vintasoft.Imaging.VintasoftImage^ image,
System.Windows.Media.DrawingContext drawingContext,
System.Windows.Rect^ sourceRect,
System.Windows.Rect^ destRect,
double destDpiX,
double destDpiY,
Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase^ preprocessing,
System.EventHandler<ProgressEventArgs^>^ renderingProgress
)
Parameters
- image
- Image to draw.
- drawingContext
- Drawing context where image should be drawn.
- sourceRect
- The rectangular area, in pixels, of image to draw.
- destRect
- The rectangular area, in device-independent pixels (1/96th inch), of device context where image should be drawn.
- destDpiX
- Horizontal resolution, in dpi, of drawing context.
- destDpiY
- Vertical resolution, in dpi, of drawing context.
- preprocessing
- Processing command that should be applied to image before drawing of image on drawing context.
- renderingProgress
- Progress delegate of the source image rendering progress.